home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c,gnu.gcc.help,comp.unix.programmer
- Subject: Re: Help for using bcopy function
- Date: 29 Feb 96 10:38:05 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.825590285@rscernix>
- References: <4gl53u$4bv@kocrsv08.delcoelect.com> <ELIAS.96Feb27144032@cepheus.omicron.se>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <ELIAS.96Feb27144032@cepheus.omicron.se> elias@cepheus.omicron.se (Elias Martenson) writes:
-
- >In article <4gl53u$4bv@kocrsv08.delcoelect.com> c2xjs2@mail.delcoelect.com (Jianli Sun) writes:
- >
- >> I use bcopy function in a client-server program, I get a error
- >> say bcopy is not declared, when I try to compile it on UNIX using
- >> gcc. Can someone out there, tell me which libary file I should
- >> inclued to compile it. please e-mail me. thanks!
- >
- >bcopy() is not standard AFAIK. Use memcpy instead.
-
- memmove is the proper replacement for bcopy. memcpy will do, as well,
- only if bcopy was not used on overlapping blocks.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-